@include('Home.head')
<body>
<style>
    /*.am-header-default{*/

    /*    !* border-bottom:#F2F2F2 2px solid; *!*/

    /*    background: linear-gradient(180deg,#d2393b 0%, #ab191a 100%);*/
    /*}*/
    .am-header-title a{
        color: #ffffff;
    }
    .am-navbar-nav a .am-navbar-label{
        font-size: 14px;
        margin-top: 6px;
    }
    .am-navbar{
        height: 60px;
    }
</style>
<div class="container" id="app">
    @include('Home.member.header')
{{--    <header data-am-widget="header" class="am-header am-header-default my-header headera" style="background-color:#01573e ">--}}

{{--        <div class="am-header-left am-header-nav">--}}
{{--            <a  onclick="javascript:history.back(-1);" class="">--}}
{{--                <i class="am-header-icon am-icon-chevron-left"></i>--}}
{{--            </a>--}}
{{--        </div>--}}
{{--        <h1 class="am-header-title">--}}

{{--            <a href="#title-link">@{{ title }}</a>--}}

{{--        </h1>--}}
{{--       <!-- <div class="am-header-right am-header-nav">--}}
{{--            <a href="/home/member/myuser" class="">--}}
{{--                <i class="am-header-icon  am-icon-cog"></i>--}}
{{--            </a>--}}
{{--        </div> -->--}}
{{--    </header>--}}
{{--    <div class="uchome-info">--}}
{{--        <!-- <div class="uchome-info-uimg">--}}
{{--            <img src="/img/home/user/logo.png" />--}}
{{--        </div>--}}
{{--        <div class="uchome-info-uinfo">--}}
{{--            <p>{{ Session::get('home_user')->user_name }}，欢迎光临！[<a href="/home/logout" class="white">退出登录</a>]</p>--}}
{{--            --}}{{--<p>帐号：{{ Session::get('home_user')->name }}</p>--}}
{{--            <p>电子币：<span class="red">￥{{ Session::get('home_user')->credit1 }}</span>，积分：<span class="red">￥{{ Session::get('home_user')->credit4 }}</span>，奖励币：<span class="red">￥{{ Session::get('home_user')->credit2 }}</span></p>--}}
{{--        </div>--}}
{{--     -->--}}
{{--        <div class="uchome-info-uimg uchome-info-uhead">--}}
{{--            <div class="defaultImg">--}}
{{--                <img src="/img/favicon.png" />--}}
{{--            </div>--}}
{{--            <p><span style="font-weight: 600;font-size: 16px;">{{ Session::get('home_user')->user_name }}</span>&nbsp;&nbsp;[<a href="/home/logout" style="font-size:12px">退出登录</a>]</p>--}}
{{--            <div class="uchome-info-monetaryValue">--}}
{{--                <p>电子积分<span class="red">￥{{ Session::get('home_user')->credit1 }}</span></p>--}}
{{--                <!-- <p>积分<span class="red">￥{{ Session::get('home_user')->credit4 }}</span></p> -->--}}
{{--                <p>奖励积分<span class="red">￥{{ Session::get('home_user')->credit2 }}</span></p>--}}

{{--				<p>折扣积分<span class="red">￥{{ Session::get('home_user')->credit5 }}</span></p>--}}

{{--                <!-- <p>代金券<span class="red">￥{{ Session::get('home_user')->voucher }}</span></p> -->--}}
{{--            </div>--}}
{{--        </div>--}}
{{--    </div>--}}
    <div class="my-nav-bar">
        <ol class="am-breadcrumb">
            <li><a href="#">首页</a></li>
            <li><a href="#">我的资料</a></li>
        </ol>
    </div>
	
	
    <div class="am-cf cart-panel">
        <div class="withdrawals-panel">
            <div class="partners-title-panel">
                <div class="partners-title-panel-title"><a href="/home/member/userInfo"><i class="am-icon-chevron-circle-right"></i>个人信息</a></div>
            </div>
            <div class="partners-title-panel">

                <div class="partners-title-panel-title"><a href="/home/member/loginPass"><i class="am-icon-chevron-circle-right"></i>修改登录密码</a></div>

            </div>
            <div class="partners-title-panel">
                <div class="partners-title-panel-title"><a href="/home/member/payPass"><i class="am-icon-chevron-circle-right"></i>修改支付密码</a></div>
            </div>
            <div class="partners-title-panel">
                <div class="partners-title-panel-title"><a href="/home/member/addresslist"><span class="am-fr">@{{ count.addrNum }}个</span><i class="am-icon-chevron-circle-right"></i>我的收货地址</a></div>
            </div>
            <!-- <div class="partners-title-panel">
                <div class="partners-title-panel-title"><a href="/home/member/banklist"><span class="am-fr">@{{ count.bankNum }}张</span><i class="am-icon-chevron-circle-right"></i>银行卡资料</a></div>
            </div> -->
        </div>
    </div>
    @include('Home.foot')
</div>
</body>
<script>
    var app = new Vue({
        el: "#app",
        data: {
            title: '我的资料',
            count:{}
        },
        methods: {
            //初始化 系统管理员列表
            initialize: function () {
                $.post("/home/index", {'_token': '{{csrf_token()}}', class: 'count'}, function (res) {
                    if (res.code) {
                        app.count = res.data
                    } else {
                        layer.msg(res.data);
                    }
                });
            },
        },
        //自动执行
        mounted: function () {
            this.initialize();
        },
    })
</script>
</html>
